package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author wlp
 * @since 2023-12-20
 */
@TableName("account_info")
@ApiModel(value = "AccountInfo对象", description = "")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("登录账号、YZ开头")
    private String account;

    @ApiModelProperty("登录密码、默认手机号后6位")
    private String password;

    @ApiModelProperty("人员姓名")
    private String accName;

    @ApiModelProperty("手机号,唯一")
    private String accPhone;

    @ApiModelProperty("状态")
    private Integer accState;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;


}
